<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        #box{
            width: 200px;
            height: 200px;
            border:solid 1px #333;
            background-image: url('./image/logo.png');
            background-size: cover;
        }
        @media screen and (-webkit-min-device-pixel-ratio:2){
            #box{
                background-image: url('./image/logo@2x.png');
            }
        }
        @media screen and (-webkit-min-device-pixel-ratio:3){
            #box{
                background-image: url('./image/logo@3x.png');
            }
        }
        
    </style>
</head>
<body>
    <div id="box"> </div>
</body>
</html>